//
//  KAPieChartView.h
//  KeepAccounts
//
//  Created by honeyrr on 2017/10/26.
//  Copyright © 2017年 honeyrr. All rights reserved.
//

#import <UIKit/UIKit.h>
@class KAPieChartView;

@protocol KAPieChartViewDelegate <NSObject>

-(void) onCenterClick:(KAPieChartView *)pieChartView;

@end

@interface KAPieChartView : UIView

@property(nonatomic, assign) BOOL isOutlay;
//饼图数据
@property(nonatomic, strong) NSArray *pieMarr;
//饼图标题 总计
@property(nonatomic, assign) NSInteger allIncomeMoney;
@property(nonatomic, assign) NSInteger allOutlayMoney;

@property(nonatomic, weak) id<KAPieChartViewDelegate> delegate;

-(void) reloadPieChartView;
@end
